﻿using System.Windows.Controls;
using DCT.ViewModel;

namespace DCT.View
{
    public partial class PropertyWindowView : UserControl
    {
        public PropertyWindowView()
        {
            InitializeComponent();
        }

        public void PropertyWindowClosed(object sender, System.EventArgs e)
        {
            DeviceBaseViewModel deviceBaseViewModel = this.DataContext as DeviceBaseViewModel;
            if (deviceBaseViewModel != null)
            {
                deviceBaseViewModel.IsPropertyShow = false;
            }
        }
    }
}
